package rpc02;

import com.hl.rpc.common.User;
import com.hl.rpc.service.IUserService;

/**
 * Created by yuanhailong on 2021/10/30.
 */
public class UserServiceImp implements IUserService {
    public User findUserById(int id) {
        //真是代码，可以来自于数据库，文件等任何地方
        return new User(id,"Hailong");
    }

    public User find() {
        return null;
    }
}
